package com.fulihui.wgj.consumer.entity;

import lombok.Data;

import java.util.List;

/**
 * @author: LiuJie
 * @version: 2018/7/23 14:35
 * @description:
 */
@Data
public class CustomerNewsMsg {
    /**
     * 公众号appId
     */
    private String appId;

    /**
     * 消息存于 redis 中的消息 key
     * {@link com.fulihui.wgj.facade.dto.Wx48MsgDTO}
     */
    private String newsKey;

    /**
     * 用户openid集合
     */
    private List<String> openIds;

    public CustomerNewsMsg() {
    }

    public CustomerNewsMsg(String appId, String newsKey, List<String> openIds) {
        this.appId = appId;
        this.newsKey = newsKey;
        this.openIds = openIds;
    }
}
